﻿using MvcContrib;
using Tamias.DefaultImplementation.MessageHandlers;

namespace Tamias.DefaultImplementation
{
    public static class MessageHandlerSetup
    {
        public static void SetupHandlers()
        {
            MvcContrib.Bus.AddMessageHandler(typeof(GetGroupsMessageHandler));
            MvcContrib.Bus.AddMessageHandler(typeof(SaveContentGroupMessageHandler));
            MvcContrib.Bus.AddMessageHandler(typeof(GetGroupMessageHandler));
            MvcContrib.Bus.AddMessageHandler(typeof(DeleteContentGroupMessageHandler));
        }
    }
}
